﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Estsh.Core.Base;
using Estsh.Core.Wms.IRepositories;
using Estsh.Core.Wms.IServices;
using Estsh.Core.Model.Result;
using Estsh.Core.Services;
using Estsh.Core.Repositories;
using Estsh.Core.Models;
using Newtonsoft.Json.Linq;

namespace Estsh.Core.Wms.Services
{
    public class TestService : BaseService<BaseEntity>, ITestService
    {
        private readonly ITestRepository repository;
        public TestService(ITestRepository _repository) : base(_repository)
        {
            repository = _repository;
        }

        /// <summary>
        /// 获取收货改数权限
        /// </summary>
        /// <param name="user">用户名</param>
        /// <returns></returns>
        public List<SysBase> GetUser(string user)
        {
            return repository.GetUser(user);
        }

    }
}
